package com.travel.pojo.tourist_demand;

public class Address {

    private int aid;
    private int id;
    private String address;
    private String starttime;
    private String overtime;
    private int startcode;

    public Address() {
    }

    public Address(int aid, int id, String address, String starttime, String overtime, int startcode) {
        this.aid = aid;
        this.id = id;
        this.address = address;
        this.starttime = starttime;
        this.overtime = overtime;
        this.startcode = startcode;
    }

    public Address(String address) {
        this.address = address;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getOvertime() {
        return overtime;
    }

    public void setOvertime(String overtime) {
        this.overtime = overtime;
    }

    public int getStartcode() {
        return startcode;
    }

    public void setStartcode(int startcode) {
        this.startcode = startcode;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    @Override
    public String toString() {
        return "Address{" +
                "aid=" + aid +
                ", id=" + id +
                ", address='" + address + '\'' +
                ", starttime='" + starttime + '\'' +
                ", overtime='" + overtime + '\'' +
                ", startcode=" + startcode +
                '}';
    }
}
